package com.buba.system.service;

import com.buba.system.pojo.Employee;
import com.buba.system.pojo.Page;

import java.util.List;
import java.util.Map;

public interface EmployeeService {

    Employee selEmployee(String employeeId);

    /**
     * 查询所有员工的总条数
     * @param
     * @return
     */
    Long selCountAll();
    /**
     * 查询所有员工
     * @param page
     */
    List<Employee> selEmployeeAll(Page<Employee> page);
    /**
     * 携带查询条件的总条数
     * @param map
     * @return
     */
    Long selCount(Map<String, Object> map);

    List<Employee> selAllEmployee(Map<String, Object> map);


    Integer addEmployee(Map<String, Object> map);

    long addJob(Map<String, Object> map);

    Integer delEmployee(List<String> list);

    Integer delEmployeeAll(List<String> list);

    Integer updEmployee(Map<String, Object> map);
}
